@extends('front.header')
@section('title','往期视频')
@section('red')
    <div class="nav">
        <ul class="nav_body">
            <li><a  href="/">首页</a></li>
            <li><a  href="/expert/lecture">名家讲堂</a></li>
            <li><a class="current" href="/expert/front-list">名家风采</a></li>
            <li><a  href="/video/show">往期视频</a></li>
        </ul>
    </div>
@endsection
@section('content')
    <div class="main">
        <div class="export_info">
            <div class="export_this">
                <div class="title_box">本期嘉宾</div>
                <div class="export_this_body clearfix">
                    <div class="left_export"><img src="{{$expert->photo}}" /></div>
                    <div class="right_export">
                        <div class="export_base">
                            <p class="name"><b>姓名：</b>{{$expert->name}}</p>
                            <p><b>性别：</b>{{$expert->sex}}</p>
                            <p><b>科室：</b>{{$expert->department}}</p>
                            <p><b>职称：</b>{{$expert->position}}</p>
                            <p><b>医院：</b>{{$expert->hospital}}</p>

                        </div>
                        <div class="export_this_intro">

                            <div class="export_edu clearfix">
                                <div class="edu_title">接受教育：</div>
                                <p>{{$expert->degree}}</p>
                            </div>
                            <div class="export_edu clearfix">
                                <div class="edu_title">简介：</div>
                                <p>{!!$expert->introduction!!}</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="this_intro">
                <div class="title_box">本期简介</div>
                <div class="this_intro_body">
                    @if($expert->connection->isNotEmpty())
                    <p class="te_2">{!!$expert->connection[0]->content!!}</p>
                    @else
                    <p>该专家没有演讲的直播</p>
                    @endif
                </div>
            </div>

            <div class="other_export">
                <div class="title_box">其他专家</div>
                <div class="export_list clearfix">
                    @if($expert->connection->isNotEmpty())
                    @foreach($expert->connection[0]->connection as $v)

                        @if($v->id!=$expert->id)

                            <div class="export_ship mar_0">
                                <div class="export_ship_img">
                                    <a href="/expert/front-list-detail/{{$v->id}}"><img src="{{$v->photo}}" /></a>
                                </div>
                                <div class="export_ship_txt">
                                    <p>专家：{{$v->name}}</p>
                                    <p>职位：{{$v->position}}</p>
                                    <p>科室：{{$v->department}}</p>
                                    <p>医院：{{$v->hospital}}</p>

                                </div>
                            </div>

                        @endif
                    @endforeach
                    @else
                    <p>该专家无相关的专家</p>
                    @endif
                </div>
            </div>
        </div>
    </div>
    </body>
    </html>
@endsection
